<h1 class='text-info'><?= $idvenda ?> - Serviços Comprados - Adicionar</h1>

<form role="form" action="<?= $link_form ?>"  method="post" class="form-horizontal">
    <input type="hidden" name="idservicosComprados" value="<?= $sc->getidservicosComprados(); ?>">
    <div class="form-group">
        <label class="col-xs-1 col-sm-1 col-md-1 col-lg-1" for="idservico">Serviço:</label>
        <div class="col-xs-5 col-sm-5 col-md-5 col-lg-5 " >
            <!--<input class="form-control" type="text" id="nome" name="nome"  placeholder="Informe o nome">-->
            <select class="form-control" name="idservico" id="idservico">
                <?php foreach ($listaServicos as $ele) { ?>
                    <option value="<?= $ele['idservico'] ?>"><?= $ele['nome'] ?></option>
                <?php } ?>
            </select>
        </div>
        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 ">
            <!--<span class="glyphicon glyphicon-remove"></span>-->
        </div>


        <label class="col-xs-1 col-sm-1 col-md-1 col-lg-1" for="quantidade">Quantidade:</label>
        <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 " >
            <input class="form-control" type="text" id="quantidade" name="quantidade" value="<?= $sc->getQuantidade(); ?>" placeholder="Informe a quantidade">
        </div>
        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 ">
            <!--<span class="glyphicon glyphicon-remove text-danger"></span>-->
        </div>
    </div>

    <button type="submit" class="btn btn-success"><span class="glyphicon glyphicon-ok-circle"></span> Salvar</button>
    <a href="?s=cServicosComprados&idvenda=<?= $idvenda ?>" class="btn btn-danger"><span class="glyphicon glyphicon-remove-circle"></span> Cancelar</a>
</form>